home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 1 / Cream of the Crop 1.iso / PROGRAM / SCLIB.ARJ / SCL1SAMP.EXE / SORT.C < prev    next >
Text File  |  1992-01-01  |  353b  |  24 lines

  1. #include <scl1.h>
  2.  
  3.     /********************
  4.       SortPointers demo */
  5.  
  6. char *names[]={
  7.      "Mozart",
  8.      "Villa-Lobos",
  9.      "Chopin",
  10.      "Bach",
  11.      "Schubert",
  12.      "Debussy",
  13.      "Albeniz",
  14.      "Beethoven",
  15.      "Falla",0,};
  16.  
  17. main()
  18. {
  19. int i;
  20.  
  21. SortPointers(names);
  22. for(i=0;names[i];++i)
  23.      printf("%s\n",names[i]);
  24. }